package com.sc.nft.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.sc.nft.sup.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author 朱梦晨
 * @Description:
 * @date 2024-07-25
 */
@Data
public class ExportRecordsDTO extends PageRequest {

    /*@ApiModelProperty("导出类型")
    @NotNull(message = "导出类型不能为空")
    private Integer exportType;
*/
    @ApiModelProperty("导出状态")
    private Integer status;

    @ApiModelProperty("名称")
    private String exportName;

    @ApiModelProperty("开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty("结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    @ApiModelProperty("创建人id")
    @JsonIgnore
    private Long creatorId;

}
